﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Cart_DatHang : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            ViewState["timeNow"] = DateTime.Now.ToString("dd/MM/yyyy");
            
        }
    }
    public string getTimeNow()
    {
        return ViewState["timeNow"].ToString();
    }
}
